package com.suny.sf_server;

import cn.dev33.satoken.secure.BCrypt;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

//@SpringBootTest
class SfServerApplicationTests {

    @Test
    void contextLoads() {
        String hashpw = BCrypt.hashpw("123456");
        System.out.println(hashpw);
        boolean checkpw = BCrypt.checkpw("123456", hashpw);
        System.out.println(checkpw);
    }

}
